package cn.sparrowx.cloud.controller;

import cn.sparrowx.cloud.config.feginConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * cn.sparrowx.cloud
 *
 * @author bosong
 * @since 2018/6/13 10:48.
 */
@RestController
public class FeginController {

    @Autowired
    private feginConfig feginConfig;

    @GetMapping(value = "/getFegin")
    String getFegin(){
        return feginConfig.fegin();
    }
}
